<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Open a window of the specified size and position</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.newt-open-window" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">newt_open_window</h1>
  <p class="verinfo">(PECL newt &gt;= 0.1)</p><p class="refpurpose"><span class="refname">newt_open_window</span> &mdash; <span class="dc-title">Open a window of the specified size and position</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.newt-open-window-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>newt_open_window</strong></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$left</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$top</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$width</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$height</code></span>
   [, <span class="methodparam"><span class="type">string</span> <code class="parameter">$title</code></span>
  ] ) : <span class="type">int</span></div>

  <p class="para rdfs-comment">
   Open a window of the specified size and position.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.newt-open-window-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<code class="parameter">left</code></dt>

     <dd>

      <p class="para">
       Location of the upper left-hand corner of the window (column number)
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">top</code></dt>

     <dd>

      <p class="para">
       Location of the upper left-hand corner of the window (row number)
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">width</code></dt>

     <dd>

      <p class="para">
       Window width
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">height</code></dt>

     <dd>

      <p class="para">
       Window height
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">title</code></dt>

     <dd>

      <p class="para">
       Window title
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.newt-open-window-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns 1 on success, 0 on failure.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.newt-open-window-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="newt_pop_window.html" class="function" rel="rdfs-seeAlso">newt_pop_window()</a> - Removes the top window from the display</span></li>
    <li class="member"><span class="function"><a href="newt_centered_window.html" class="function" rel="rdfs-seeAlso">newt_centered_window()</a> - Open a centered window of the specified size</span></li>
   </ul>
  </p>
 </div>


</div></div></div></body></html>